DXS IS ON SPRITE RECTANGLE

This command returns 1 if the indicated point is above an opaque pixel of a rectangle extract from the sprite, else 0. Left, Top, Right, Bottom, X and Y coordinates are sprite relative. Transformations does not affect this command.
A call to to DXS LOCK SPRITE is required before any use of this command.

Syntax

Boolean = DXS IS ON SPRITE RECTANGLE(Sprite Pointer, Gauche, haut, Droite, Bas, X, Y)


AdvancedSPRITES : Commands Menu